WP_Defender\Model\Lockout_Log S

Total Complexity 30
Dependencies 1
Dependents 10
Total lines 354
Lines of code 174
Logical lines of code 69
Comment lines 123
Methods 14
Properties 9

Methods 14

Method Rating Maintainability Complexity Lines of code
query_logs()
A
51 8 26
get_logs_and_format()
S
52 5 23
count()
S
54 4 23
get_last_lockout_date()
S
58 2 17
remove_logs()
S
62 2 12
count_lockout_in_24_hours()
S
63 1 12
count_lockout_in_7_days()
S
63 1 12
count_lockout_in_30_days()
S
63 1 12
count_login_lockout_last_7_days()
S
72 1 5
count_404_lockout_last_7_days()
S
72 1 5
truncate()
S
74 1 5
get_summary()
S
66 1 8
find_by_id()
S
71 1 6
delete()
S
68 1 8